import request from "@/services/request";

export function fetchHomeChart(data: any) {
  return request("/cnpc-web/supgpt-app/auto-supervision/anomaly-overview/homeChart", {
    method: "POST",
    data: {
      data,
    },
  });
}

export function fetchAnomalyTrend(data: any) {
  return request("/cnpc-web/supgpt-app/auto-supervision/anomaly-overview/getPredictedValue", {
    method: "POST",
    data: {
      data,
    },
  });
}

